//
//  Show.h
//  SDDataTest
//
//  Created by sodao on 12-9-19.
//  Copyright (c) 2012年 sodao. All rights reserved.
//

#import "FeedBase.h"
#define kEncode_isSample @"isSampleInfo"
#define kEncode_Dynamic @"dynamicinfo"
#define kEncode_favCount @"favourcount"
#define kEncode_comCount @"commentcount"
#define kEncode_parsed @"favour"
#define kEncode_picurl @"picUrl"
#define kEncode_location @"location"
#define kEncode_header @"header"
#define kEncode_nickName @"nickName"
#define kEncode_picDesc @"picdesc"
#define kEncode_picsize @"picsize"
#define kEncode_showID @"showId"
#define kEncode_userId @"userId"
#define kEncode_favours @"favours"
#define kEncode_owner @"owner"
#define kEncode_comments @"comments"

@class Person;
@class Dynamic;
@interface Show : FeedBase

@property (nonatomic,       )           BOOL                    isSampleInfo;
@property (nonatomic, retain)           Dynamic*                dynamic;
@property (nonatomic, retain)           NSString *              showId;
@property (nonatomic, retain)           Person *                owner;
@property (nonatomic, retain)           NSString *              picUrl;
@property                               BOOL                    parsed;

@property                               NSInteger               commentNum;
@property (nonatomic, retain)           NSMutableArray *        comments;
@property (nonatomic, retain)           NSMutableArray*         favours;
@property (nonatomic, retain)           NSString*               location;
@property (nonatomic, retain)           NSString*               showDescription;
@property (nonatomic)                   CGSize                  picSize;
@property (nonatomic,       )           int                     parseCount;

-(void)updateShowInfoByDictionary:(NSDictionary*)dictionary;
@end
